package jian.hamster.event
{
	import flash.events.Event;
	
	/**
	 * 时钟计时事件<br>
	 * @author Jian
	 * 
	 */	
	public class GameEvent extends Event
	{
		/**
		 * 游戏帧事件
		 */
		public static const ENTER_FRAME:String = "game_enter_frame";
		
		/**
		 * 游戏得分事件
		 */
		public static const SCORE:String = "game_socre";
		
		private var _data:*;
		
		public function GameEvent(type:String, $data:*=null, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			this._data = $data;
		}
		
		public function get data():*
		{
			return _data;
		}
	}
}